home *** CD-ROM | disk | FTP | other *** search
- PRGTOGEOS (Chapter 3) Corrections:
-
- PRGTOGEOS utility described in chapter 3 does not work. With the following
- corrections, you should have no problem with it.
-
- On page 48, replace the "psect 400" with:
-
- .psect $304 ;The fileheader does not actually start at $304; this psect
- is necessary so that the fileheader occupies the first 252 bytes of the
- PRG file which your assembler creates.
-
- The comments below "FileHeader" should read:
-
- ;The first four bytes of the fileheader will be written to the header
- block by the PRGTOGEOS basic program during conversion. For your
- information, the first four bytes will contain:
-
- ; .byte $00,$ff ;null pointer
- ;to next block
- ; .byte 3,21 ;icon width and
- ;height
-
- Then these comments follow:
-
- ;The rest of the header will end up in bytes $04-$ff of the first block
- of the PRG file. When this file is converted, this first block will
- become the program's header block, and the header information from $04 to
- $ff in the block will already be in the correct place.
-
- The rest of the header from P48 follows fro